body,
html {
    width: 100%;
    height: 100%;
    background: #f6f6f6;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* 清浮动 */
.clearfix::after {
    display: block;
    content: '';
    clear: both;
    height: 0;
}

.clearfix {
    zoom: 1;
}

.min {
    min-width: 1200px;
}

.container {
    width: 1200px;
    margin: 0 auto;
}


//头
#header {
    width: 100%;
    height: 160px;
    background: #fff;

    //logo
    .logoBox {

        margin-left: 20px;
        margin-top: 40px;
        margin-right: 20px;

        a {
            img {
                width: 75px;
                height: 75px;
                margin-right: 20px;
            }
        }

        .logoText {
            margin-top: 5px;
            text-align: center;

            h3 {
                font-size: 28px;
                font-weight: 600;
                line-height: 40px;
                color: #43240c;
            }

            span {
                font-size: 12px;
                line-height: 17px;
                color: #43240c;
            }
        }
    }

    // 搜索框
    .SearchBox {
        width: 530px;
        height: 48px;
        float: left;
        position: relative;
        border-radius: 34px;
        box-shadow: inset 0 0 0 2px #43240c;
        margin-top: 50px;
        margin-left: 60px;
        margin-right: 50px;

        span {
            font-size: 30px;
            position: absolute;
            top: 8px;
            left: 5px;
        }

        input {
            top: 3px;
            left: 47px;
            width: calc(100% - 177px);
            font-size: 16px;
            line-height: 40px;
            color: #43200c;
            position: absolute;
            border: none;
            outline: none;
        }

        .search {
            cursor: pointer;
            position: absolute;
            top: 4px;
            right: 5px;
            width: 124px;
            font-size: 14px;
            font-weight: 500;
            line-height: 40px;
            text-align: center;
            color: #43200c;
            background-color: #fee44e;
            border-radius: 34px;
        }
    }

    //右图标
    .guarantee {
        margin-top: 40px;

        img {
            width: 40px;
            height: 40px;
            color: red;
        }

        p {
            font-size: 12px;
            margin-top: 10px;
        }

        li {
            float: left;
            margin-right: 20px;
        }

    }


}

.nav {
    width: 100%;
    height: 46px;
    background-color: #43240c;

    li {
        float: left;
        text-align: center;
        line-height: 46px;
        color: #fff;
    }

    .nav-index {
        width: 220px;
        background: #fee44e;
    }

    .nav-other {
        width: 170px;

        &:hover {
            background: #fee44e;
        }
    }

}

//导航

//导航和轮播
#navCarousel {


    //列表与广告
    .listAds {
        background-color: #fff;
        margin-bottom: 10px;

        //列表
        .list {
            width: 220px;
            background-color: #fff9d6;
            position: relative;

            ul {
                text-align: center;
            }

            li {
                line-height: 40px;
                font-size: 12px;

                .text {
                    pointer-events: none;
                }

                .iconfont {
                    margin-left: 60px;
                    margin-right: 20px;
                    float: left;
                    color: #afafaf;
                }

                p {
                    float: left;

                    &:hover {
                        color: rgb(255, 73, 73);
                    }
                }
            }

            .commodityBox {
                position: absolute;
                width: 230px;
                height: 367.2px;
                background: #fff;
                top: 0px;
                left: 220px;
                z-index: 5;
                display: none;

                .commodityBoxIn {
                    width: 230px;


                    .commodityBoxButten {
                        width: 190px;
                        padding: 20px;

                        h2 {
                            margin-bottom: 10px;
                            border-bottom: 1px dashed #000;
                            font-size: 20px;
                            font-weight: 900;
                            line-height: 30px;
                        }

                        span {
                            display: inline-block;
                            margin-right: 8px;
                            line-height: 22px;
                            color: #666666;
                        }
                    }
                }
            }

            .bgColor {
                background-color: #fff;
                transition: background-color 0.5s;
            }
        }

        //广告轮播
        .ads {
            margin-left: 10px;

            .top {
                width: 970px;
                height: 234px;
                margin-bottom: 10px;

                //轮播
                .banner {
                    width: 660px;
                    height: 234px;

                    .swiper {
                        float: left;
                        margin-bottom: 10px;
                        width: 660px;
                        height: 234px;
                        /* 设置指示器选中颜色 */
                        --swiper-theme-color: #ff6600;
                        /* 设置Swiper风格 */
                        --swiper-navigation-color: #fff;
                        /* 单独设置按钮颜色 */
                        --swiper-navigation-size: 15px;

                        /* 设置按钮大小 */
                        img {
                            width: 660px;
                            height: 234px;
                        }

                        .swiper-button-prev,
                        .swiper-button-next {
                            width: 20px;
                            height: 30px;
                            background: rgba(0, 0, 0, 0.3);
                        }

                    }
                }

                //9.9
                .banner-left {
                    cursor: pointer;
                    box-sizing: border-box;
                    float: left;
                    position: relative;
                    margin-left: 10px;
                    padding: 32px 13px;
                    width: 297px;
                    height: 234px;
                    color: #ff5817;
                    background-color: #fff4e4;
                    transition: all .3s;
                    position: relative;

                    h3 {
                        z-index: 3;
                        position: absolute;
                        top: 32px;
                        left: 13px;
                        font-size: 24px;
                    }

                    div {
                        z-index: 3;
                        position: absolute;
                        top: 76px;
                        left: 0;
                        padding: 0 47px 0 22px;
                        font-size: 18px;
                        line-height: 36px;
                        color: #fff;
                        background: url() no-repeat 50%/cover;
                    }

                    img {
                        width: 134px;
                        height: 134px;
                        cursor: pointer;
                        color: #ff5817;
                        position: absolute;
                        right: 10px;
                        bottom: 10px;
                    }
                }
            }

            .bottom {
                margin-bottom: 10px;

                a {
                    float: left;

                    //降温穿搭
                    .left {
                        overflow: hidden;
                        position: relative;
                        padding: 26px 34px 16px;
                        width: 255px;
                        color: #fff;
                        background: linear-gradient(270deg, #ffd1dd, #fca6c0);
                        border-radius: 18px;

                        h3 {
                            font-size: 22px;
                            margin-bottom: 5px;
                            font-weight: 600;
                            color: #fff;
                            cursor: pointer;
                            font-family: Avenir, Helvetica, Arial, sans-serif;
                        }

                        p {
                            font-size: 18px;
                        }

                        span {
                            display: block;
                            margin-top: 15px;
                            width: 47px;
                            font-size: 14px;
                            line-height: 20px;
                            text-align: center;
                            color: #fec17e;
                            background-color: #fff;
                            border-radius: 10px;
                        }

                        img {
                            position: absolute;
                            top: 0;
                            right: 0;
                            width: 125px;
                            height: 125px;
                        }
                    }

                    //大额券
                    .mindle {
                        background: linear-gradient(270deg, #fffffe, #fec07e);
                        overflow: hidden;
                        position: relative;
                        padding: 26px 34px 16px;
                        width: 255px;
                        color: #fff;
                        border-radius: 18px;
                        margin-left: 10px;

                        h3 {
                            font-size: 22px;
                            margin-bottom: 5px;
                            font-weight: 600;
                            color: #fff;
                            cursor: pointer;
                            font-family: Avenir, Helvetica, Arial, sans-serif;
                        }

                        p {
                            font-size: 18px;
                        }

                        span {
                            display: block;
                            margin-top: 15px;
                            width: 47px;
                            font-size: 14px;
                            line-height: 20px;
                            text-align: center;
                            color: #fec17e;
                            background-color: #fff;
                            border-radius: 10px;
                        }

                        img {
                            position: absolute;
                            bottom: 0;
                            right: 0;
                            width: 125px;
                            height: 125px;
                        }
                    }

                    //下载app
                    .right {
                        box-sizing: border-box;
                        position: relative;
                        margin: 0;
                        padding: 40px 0 0 34px;
                        width: 297px;
                        background: linear-gradient(270deg, #e7f5ff, #afdcff);
                        border-radius: 8px;
                        height: 122px;
                        margin-left: 10px;

                        p {
                            font-size: 18px;
                            color: #fff;
                            margin-bottom: 10px;
                        }

                        img {
                            box-sizing: border-box;
                            position: absolute;
                            top: 14px;
                            right: 20px;
                            width: 100px;
                            height: 100px;
                            background-color: #fff;
                            border-radius: 18px;
                            border: 8px solid #afdcff;
                        }
                    }
                }


            }
        }
    }

    //小编精选
    .choose {
        margin: 10px auto 20px;
        font-size: 18px;
        line-height: 56px;
        color: #43240c;
        background-color: #fff;
        width: 1200px;
        margin: auto;
        margin-bottom: 15px;

        background: #fff h3 {
            display: inline-block;
            margin-left: 52px;
            font-size: 18px;
            font-weight: 500;
        }

        h3 {
            display: inline-block;
            margin-left: 52px;
            font-size: 18px;
            font-weight: 500;
        }

        p {
            display: inline-block;
            margin-left: 30px;
            font-size: 14px;
            color: #877a73;
        }
    }

    //渲染固定商品页面
    #fixedList {
        margin-top: 20px;

        .pro-item {
            width: 280px;
            float: left;
            margin: 0 10px;
            background: #fff;
            margin-bottom: 20px;

            &:hover {
                box-shadow: 2px 2px 5px 5px rgb(207, 207, 207);
            }


            img {
                width: 276px;
                height: 276px;
                margin-bottom: 10px;
            }

            p {
                overflow: hidden;
                font-size: 14px;
                line-height: 18px;
                text-overflow: ellipsis;
                color: #877a73;
                white-space: nowrap;
                margin: 0 17px;
                margin-bottom: 10px;
            }

            .pro-merchant {
                width: 240px;
                height: 20px;
                margin: 5px 17px;


                .left {
                    background-color: #df2b2f;
                    color: #fff;
                    border-radius: 2px;
                    float: left;
                    box-sizing: border-box;
                    margin: 0 6px 0 0;
                    padding: 0 6px;
                    min-width: 40px;
                    font-size: 14px;
                    color: #ffffff;
                    line-height: 20px;
                    vertical-align: middle;
                    text-align: center;
                }

                .right {
                    float: right;
                    box-sizing: border-box;
                    min-width: 40px;
                    font-size: 14px;
                    line-height: 20px;
                    text-align: center;
                    border-radius: 2px;
                }
            }

            .pro-sales {
                width: 240px;
                float: left;
                margin: 10px 17px;

                .left-money {
                    display: inline-block;
                    font-size: 12px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 12px;
                }

                .left {
                    display: inline-block;
                    font-size: 24px;
                    line-height: 28px;
                    color: #fa585a;
                    font-weight: 400;
                    text-align: left;
                }

                .right {
                    display: inline-block;
                    font-size: 14px;
                    color: #877a73;
                    letter-spacing: 0;
                }

                .tickt {
                    float: right;
                    width: 50px;
                    font-size: 12px;
                    line-height: 20px;
                    color: #fa585a;
                    text-align: center;
                    border-radius: 2px;
                    box-shadow: inset 0 0 0 1px #fa585a;
                    border: 1px solid rgb(243, 3, 3);
                }
            }
        }
    }

    //查看更多
    .SeeMore {
        width: 1200px;
        margin: auto;
        text-align: center;
        padding: 50px 0;

        div {
            cursor: pointer;
            margin: 0 auto;
            width: 250px;
            font-size: 24px;
            font-weight: 500;
            line-height: 70px;
            text-align: center;
            color: #43240c;
            background-color: #fee44e;
            border-radius: 35px;
        }
    }
}

//页脚
#footer {
    width: 100%;
    height: 200px;
    background: rgb(53, 50, 50);
    padding-top: 40px;

    .container {
        .left {
            img {
                float: left;
                width: 112px;
                height: 112px;
                margin: 0 19px 0 40px;
                margin-right: 19px;
            }

            .title {
                text-align: center;

                h1 {
                    font-size: 36px;
                    font-weight: 600;
                    color: #fff;
                    margin-bottom: 8px;
                    width: 144px;
                    height: 48px;
                }

                p {
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 25px;
                    color: #fff;
                }
            }


        }
    }

    .minddle {
        font-size: 20px;
        margin-left: 250px;
        margin-top: 50px;

        span {
            margin: 0 8px;
            font-size: 20px;
            color: #fff;
        }

        a {
            color: #fff;
            text-decoration: none;
            font-size: 20px;

            &:hover {
                color: crimson;
            }
        }
    }

    .bottom {
        width: 100%;
        height: 40px;
        background: rgb(53, 50, 50);
        color: #fff;
        text-align: center;
        margin-top: 50px;

        span,
        a {
            margin: 0 8px;
            font-size: 20px;
            color: #fff;
        }

        img {
            width: 22px;
            height: 22px;
            margin-top: 5px;
            vertical-align: -5px;
        }

        p {
            display: inline-block;
        }
    }
}

#return {
    position: fixed;
    top: 50%;
    right: 50px;
    margin: -30px;
    border-radius: 30px;
    height: 45px;
    width: 60px;
    background: #fee44e;
    z-index: 5;
    text-align: center;
    padding-top: 15px;
    color: #fff;

}